﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Xamarin.Forms;
using Xarmarin.GoldFinger.Interface;
[assembly: Dependency(typeof(Xarmarin.GoldFinger.Droid.Engine.DroidToast))]
namespace Xarmarin.GoldFinger.Droid.Engine
{
    public class DroidToast:IToast
    {
        public void LongAlert(string message)
        {
            Toast.MakeText(Android.App.Application.Context, message, ToastLength.Long).Show();
        }
        public void ShortAlert(string message)
        {
            Toast.MakeText(Android.App.Application.Context, message, ToastLength.Short).Show();
        }
    }
}